package cn.mooncode.basketballManage.mapper;

import cn.mooncode.basketballManage.pojo.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;


/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jwz
 * @since 2021-03-28
 */
public interface RoleMapper extends BaseMapper<Role> {


    /**
     * 根据id获取角色信息
     * @param userid
     * @return
     */
    List<Role> getRoles(Integer userid);
}
